<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本插值</title>
</head>
<body>
<div id="div">
    <div>{{msg}}</div>
    <div v-html = "msg"></div>
</div>
</body>
<script src="js/vuejs-2.5.16.js"></script>
<script>
    new Vue({
        el:"#div",
        data:{
            msg:"<b>hello Vue</b>"
        }
    });
</script>
</html>